﻿// GameRule.cpp: 实现文件
//

#include "pch.h"
#include "Snake1_1.h"
#include "GameRule.h"
#include "afxdialogex.h"


// GameRule 对话框

IMPLEMENT_DYNAMIC(GameRule, CDialogEx)

GameRule::GameRule(CWnd* pParent /*=nullptr*/)
	: CDialogEx(IDD_DIALOG1, pParent)
{

}

GameRule::~GameRule()
{
}

void GameRule::DoDataExchange(CDataExchange* pDX)
{
	CDialogEx::DoDataExchange(pDX);
}


BEGIN_MESSAGE_MAP(GameRule, CDialogEx)
	ON_BN_CLICKED(IDC_BUTTON1, &GameRule::OnBnClickedButton1)
END_MESSAGE_MAP()


// GameRule 消息处理程序


void GameRule::OnBnClickedButton1()
{
	// TODO: 在此添加控件通知处理程序代码
	EndDialog(0);
}
